{block name=report-classes}
<div class="row">
  <div class="col-sm-12">
    <a href="javascript:void(0);" onClick="exportPageToCSV($(this),$('#print-referralsources'),'referralsources.csv');" class="btn btn-info report-green"><span>Export CSV</span></a>
  </div>
</div>
<div class="row form">
  <div class="col-sm-12">
    <a href="javascript:void(0);" onClick="printArea('print-referralsources');" class="btn btn-info report-green"><span>Print</span></a>
  </div>
</div>
<div id="print-referralsources">
	<div class="row term">
	  <div class="col-sm-12">
	    <h2 class="title">Referral Sources</h2>
	  </div>
	  <div class="col-sm-12">
	    <table class="table table-striped lblue">
	      <thead>
	        <th>Referral Source</th>
	        <th>Number of Members</th>
	      </thead>
	      <tbody>
	        {foreach $referrals as $re}
	          <tr>
	            <td>{$re.user_hearabout}</td>
	            <td>{$re.cnt}</td>
	          </tr>
	        {/foreach}
	      </tbody>
	    </table>
	  </div>
	</div>
</div>
{/block} 


